package com.eastcom.providor.service.extview;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.eastcom.bm.atom.DataAbnormal;

public class DataAbnormalUtil {

	public static Map<String,Object> createTableNodeByDataAbnormal(DataAbnormal ab){
		if(ab==null)
			return null;
		Map<String, Object> retVal=new HashMap<String, Object>();
		retVal.put("abnormalDesc", ab.getAbnormalDesc());
		retVal.put("abnormalType", ab.getAbnormalType());
		retVal.put("datasetId", ab.getDatasetId());
		retVal.put("dataTime", ab.getDataTime());
		retVal.put("integrityRatio", ab.getIntegrityRatio());
		retVal.put("neId", ab.getNeId());
		retVal.put("neType", ab.getNeType());
		retVal.put("state", ab.getState());
		retVal.put("timeStamp", ab.getTimeStamp());
		retVal.put("title", ab.getTitle());
		return retVal;
		
	}
}



